export const tableConfig = {
  title: "商品信息",
  isIndex: false,
  isCheckbox: true,
  listData: [
    {
      prop: "id",
      label: "id",
      width: 60,
    },
    {
      prop: "name",
      label: "商品名称",
    },
    {
      prop: "imgUrl",
      label: "商品图片",
      slotName: "imgUrl",
    },
    {
      prop: "oldPrice",
      label: "原价格",
      width: 90,
      slotName: "oldPrice",
    },
    {
      prop: "newPrice",
      label: "现价格",
      width: 90,
      slotName: "newPrice",
    },
    {
      prop: "desc",
      label: "描述",
    },
    {
      prop: "address",
      label: "地址",
    },
    {
      prop: "inventoryCount",
      label: "库存",
    },
    {
      prop: "favorCount",
      label: "已发数量",
    },
    {
      prop: "createAt",
      label: "创建时间",
    },
    // {
    //   prop: "updateAt",
    //   label: "更新时间",
    // },
  ],
};
